package com.ruoyi.equip.domain.dto;

import io.github.linpeilie.annotations.AutoMapping;
import io.github.linpeilie.annotations.ReverseAutoMapping;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
@ApiModel(value = "ThingModelBo")
@Data
public class ThingModelDto {
    @ApiModelProperty(value = "模型内容")
    @Size(max = 65535, message = "模型内容长度不正确")
    private String model;

    @ApiModelProperty(value = "产品key")
    @Size(min = 1, max = 16, message = "产品key长度不正确")
    private String productKey;
}
